package object;

import java.sql.Date;

public class Book {
	public Book(String book_name, String writer, String publisher,
			Date publish_date, String book_code, String type,
			boolean only_teach, int shelf_num, int total_book_num,
			boolean book_exist, boolean book_on_shelf, String library_name,
			String location, boolean reserve, String book_id) {
		this.book_name = book_name;
		this.writer = writer;
		this.publisher = publisher;
		this.publish_date = publish_date;
		this.book_code = book_code;
		this.type = type;
		this.only_teach = only_teach;
		this.shelf_num = shelf_num;
		this.total_book_num = total_book_num;
		this.book_exist = book_exist;
		this.book_on_shelf = book_on_shelf;
		this.library_name = library_name;
		this.location = location;
		this.reserve = reserve;
		this.book_id = book_id;
	}

	private String book_name;
	private String writer;
	private String publisher;
	private Date publish_date;
	private String book_code;
	private String type;
	private boolean only_teach;
	private int shelf_num;
	private int total_book_num;
	private boolean book_exist;
	private boolean book_on_shelf;
	private String library_name;
	private String location;
	private boolean reserve;
	private String book_id;
	

	public boolean isReserve() {
		return reserve;
	}

	public void setReserve(boolean reserve) {
		this.reserve = reserve;
	}

	public String getBook_name() {
		return book_name;
	}

	public void setBook_name(String book_name) {
		this.book_name = book_name;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Date getPublish_date() {
		return publish_date;
	}

	public void setPublish_date(Date publish_date) {
		this.publish_date = publish_date;
	}

	public String getBook_code() {
		return book_code;
	}

	public void setBook_code(String book_code) {
		this.book_code = book_code;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isOnly_teach() {
		return only_teach;
	}

	public void setOnly_teach(boolean only_teach) {
		this.only_teach = only_teach;
	}

	public int getShelf_num() {
		return shelf_num;
	}

	public void setShelf_num(int shelf_num) {
		this.shelf_num = shelf_num;
	}

	public int getTotal_book_num() {
		return total_book_num;
	}

	public void setTotal_book_num(int total_book_num) {
		this.total_book_num = total_book_num;
	}

	public boolean isBook_exist() {
		return book_exist;
	}

	public void setBook_exist(boolean book_exist) {
		this.book_exist = book_exist;
	}

	public boolean isBook_on_shelf() {
		return book_on_shelf;
	}

	public void setBook_on_shelf(boolean book_on_shelf) {
		this.book_on_shelf = book_on_shelf;
	}

	public String getLibrary_name() {
		return library_name;
	}

	public void setLibrary_name(String library_name) {
		this.library_name = library_name;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getBook_id() {
		return book_id;
	}

	public void setBook_id(String book_id) {
		this.book_id = book_id;
	}
}
